package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.interview;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.interview.dto.BusinessEmployeeInterviewRecordsListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.interview.param.BusinessEmployeeInterviewRecordsCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.interview.param.BusinessEmployeeInterviewRecordsDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.interview.param.BusinessEmployeeInterviewRecordsListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.interview.param.BusinessEmployeeInterviewRecordsUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeeInterviewRecordsCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/interview/records/fallback")
public class BusinessEmployeeInterviewRecordsCloudServiceFallback implements BusinessEmployeeInterviewRecordsCloudService {

    @Override
    public BusinessEmployeeInterviewRecordsListCloudDto list(BusinessEmployeeInterviewRecordsListCloudParam param) {
        return new BusinessEmployeeInterviewRecordsListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessEmployeeInterviewRecordsCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessEmployeeInterviewRecordsUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessEmployeeInterviewRecordsDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
